home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / faq / comp / ibm_rt_f / aix_v2 / misc / part1 next >
Internet Message Format  |  1994-04-03  |  54KB

  1. Path: bloom-beacon.mit.edu!hookup!europa.eng.gtefsd.com!emory!swrinde!news.uh.edu!lobster!antimatr!faq-rt
  2. From: faq-rt@antimatr.hou.tx.us (Mark Whetzel)
  3. Newsgroups: comp.sys.ibm.pc.rt,comp.unix.aix,comp.answers,news.answers
  4. Subject: COMP.SYS.IBM.PC.RT: AIX V2 FAQ - Question/Answer, Part 1 of 2
  5. Summary: This posting is the question and answer section to the Frequently
  6.          Asked Questions (and their answers) and general information, hints
  7.          and tips on issues related to using AIX V2.2.x on IBM RT
  8.          (Model 615x) computers.
  9. Keywords: IBM RT PC software FAQ 6150 6151 6152 AIX VRM AOS MACH PICK
  10. Message-ID: <ibmrt_aixv2m1_765425273@antimatr.hou.tx.us>
  11. Date: 4 Apr 94 02:08:45 GMT
  12. Expires: 17 May 94 02:07:53 GMT
  13. References: <ibmrt_aixv2ix_765425273@antimatr.hou.tx.us>
  14. Sender: markw@antimatr.hou.tx.us
  15. Reply-To: aix-rt@antimatr.hou.tx.us
  16. Followup-To: comp.sys.ibm.pc.rt
  17. Lines: 1108
  18. Approved: news-answers-request@MIT.Edu
  19. Supersedes: <unknown>
  20. Xref: bloom-beacon.mit.edu comp.sys.ibm.pc.rt:1498 comp.unix.aix:23023 comp.answers:4433 news.answers:17305
  21.  
  22. Archive-name: ibm-rt-faq/aix-v2/misc/part1
  23. Last-modified: Fri Mar 25 03:37:40 CST 1994
  24. Version: 1.1
  25.  
  26. Frequently Asked Questions for:  AIX V2.2.1 on IBM RT systems
  27.                                  Various subject Q & A topics for AIX/RT.
  28.                                  Part 1 of 2 parts.
  29.  
  30. The AIX V2 FAQ currently consists of EIGHT parts in 5 topic areas:
  31.  
  32.      AIX V2 FAQ Index and acknowledgements
  33.      AIX V2 OS Specific hardware issues - in one part (currently).
  34.      AIX V2 Software questions - in three parts. (This FAQ)
  35.      AIX V2 Problem Questions and answers - two parts.
  36.      AIX V2 Porting software notes - in one part (currently).
  37.  
  38. See the AIX V2 FAQ index posting for a complete index of the AIX FAQ postings.
  39.  
  40. This FAQ covers geneal questions and answers to using AIX V2 on an IBM RT
  41. system.  It also contains some general HOW-TO questions and help.
  42.  
  43. ================================================================================
  44.  
  45. 3.0   Problem Question and Answers.
  46.  
  47. Q.1   I have lost my root password, how can I reset it?
  48.  
  49.       I have a procedure in another document outlining the steps for this
  50.       recovery.  E-mail me with your request, and I will mail it to you.
  51.       I hesitate to post the procedure to a public list.
  52.    
  53. ------------------------------
  54. Q.2   LED code 99 is displayed at power on, what is it?
  55.  
  56.       The keylock has been left in the 'locked' position at power on.
  57.       Turn the key to unlock and the system will continue booting.
  58.  
  59. ------------------------------
  60. Q.3 - How do I move 'system' filesystems (/,/usr,/tmp,/u,/vrm)?
  61.       How to increase the size of filesystems.
  62.  
  63.    The procedure for moving or enlarging a minidisk are virtually the same.
  64.    The basic procedure involves rebooting from the install/maint disk,
  65.    backing up the minidisk in question, deleting the original space
  66.    and remaking the new space, then restoring the data.  One critical element
  67.    of these procdures is the IODN of the various system minidisks.  Make
  68.    sure that you use the same IODN number for the newly created area as
  69.    before. 
  70.  
  71.    * Enlarging an existing minidisk
  72.      To enlarge a minidisk, the principle is the following:
  73.  
  74.           backup your minidisk
  75.           load the installation/maintenance diskette
  76.           get the IODN of the current minidisk you want to enlarge
  77.           delete the minidisk
  78.           create a new, larger minidisk using the same IODN
  79.           make a filesystem on the new minidisk
  80.           restore your data
  81.           reboot normally
  82.  
  83.    * Detailed procedure:
  84.        You can change the size of the /usr minidisk (or any other for that
  85.        matter). Minidisks are sections of the hard disk that are contiguous.
  86.        There may not be any free space immediately after the /usr
  87.        minidisk on your system. If that is the case, then you will have to
  88.        rearrange several minidisks on your system in order to create the
  89.        amount of contiguous free space that you need. A general procedure
  90.        is outlined below. More detailed information is contained in
  91.        Managing the AIX Operating System (SBOF-0168).
  92.       
  93.       1)  While in the Bourne Shell use the minidisk command and
  94.           print off the minidisk configuration (F4).
  95.       2)  Check the printout from the minidisk command. Check to see if
  96.           there is any free space immediately after the /usr minidisk.
  97.           If there is enough, then the procedure will be fairly simple.
  98.           If not then it is a little more involved.
  99.       3)  Shutdown and boot from the Installation/Maintenance Diskette.
  100.           Follow procedure A or B, depending on the free space.
  101.       
  102.       Procedure A - IF there is ENOUGH free space:
  103.       
  104.       4)  Select Backup commands.
  105.       5)  Select Backup a file system and backup the /usr minidisk.
  106.           DO NOT USE THE BACKUP A MINIDISK IMAGE OPTION.
  107.           Be sure to check for any errors during the backup operation.
  108.       6)  Select Delete a fixed disk minidisk and write down the /usr
  109.           minidisk IODN. Delete the minidisk.
  110.       7)  Select Create a fixed disk minidisk.
  111.           a)  Select Specify IODN and supply the IODN that you noted in the
  112.               previous step.
  113.           b)  Select No preference to cause the minidisk to be created in
  114.               the first disk area large enough to accommodate it. (Do not
  115.               use the beginning, middle, or end allocation suboptions.)
  116.           c)  Specify the number of blocks necessary to meet your new
  117.               requirements.
  118.       8)  Select Make a file system and create a file system on the new
  119.           minidisk. Select the same IODN that the original file system
  120.           had, the one you noted above.
  121.       9)  Select Restore commands.
  122.           a) Select Restore a file system.
  123.           b) Restore the old file system to the new minidisk, using the
  124.              same IODN.
  125.       10) Select Check a file system and check the structure of the new
  126.           file system.
  127.       11) Remove the AIX Operating System Installation/Maintenance
  128.           diskette and start the system from the fixed disk.
  129.       
  130.       Procedure B - IF there is NOT ENOUGH free space:
  131.       
  132.       4)  Select Backup commands.
  133.       5)  Select Backup a file system and backup the /usr filesystem.
  134.           a)  Repeat this step for the other filesystems that are on the
  135.               hard disk and physically located "behind" the /usr minidisk.
  136.               For example if a system only has one hard disk (70 Meg), the
  137.               minidisk facility gives the following information:
  138.       
  139.               MD    MD     MD    Block Number ... Mount     ......
  140.               Name  IODN  Type  Size   Blocks ... Directory ......
  141.       
  142.               hd6   32760 VRM   512    3600       /vrm
  143.                     32766 Pgsp  512    13722
  144.               hd0   16384 AIX   512    25679      /
  145.               hd2   16387 AIX   512    66809      /usr
  146.               hd1   16386 AIX   512    22810      /u
  147.               hd3   16388 AIX   512    4000       /tmp
  148.               hd4   16385 AIX   512    5000              (the dump minidisk)
  149.               Available space   512    1000  
  150.       
  151.               Assuming that there is some free space after hd4, then
  152.               backup the /usr and /u filesystems. You probably would not
  153.               backup the /tmp minidisk since you do not have any permanent
  154.               files there. You would not backup the dump minidisk (IODN
  155.               16385). DO NOT USE THE BACKUP A MINIDISK OPTION.
  156.               It is good backup procedure to check the file system using fsck
  157.               to make sure it isn't corrupted before doing a backup.  Also,
  158.               make sure the backup was successful by doing a 'restore -T' to
  159.               the backup tape, before destroying the file system.
  160.       
  161.       6)  Select Delete a fixed disk minidisk and write down the IODN numbers
  162.           for every minidisk you are about to delete.  From the example in
  163.           step 5, you would record the IODN's for the /usr, /u, /tmp, and
  164.           the dump minidisk.  After verifying your tape(s) are good, delete
  165.           the minidisk(s) that need to be re-arranged.
  166.       
  167.       7)  Select Create a fixed disk minidisk.
  168.           a)  Select Specify IODN and supply the IODN that you noted in
  169.               the previous step.
  170.           b)  Select No preference to cause the minidisk to be created in
  171.               the first disk area large enough to accommodate it. (Do not
  172.               use the beginning, middle, or end allocation suboptions.)
  173.           c)  Specify the number of blocks necessary to meet your new
  174.               requirements.
  175.           d)  Repeat step 7 a), b), and c) for each of the minidisks
  176.               previously removed.
  177.       
  178.       8)  Select Make a file system and create a file system on each of
  179.           the new minidisks. Be sure to use the same IODNs as was
  180.           used on the original file systems.
  181.       
  182.       9)  Select Restore commands.
  183.           a)  Select Restore a file system.
  184.           b)  Restore the old file system to the new minidisk, using the
  185.               same IODN.
  186.           c)  Repeat 9 a) and b) for each minidisk and file system.
  187.       
  188.       10) Select Check a file system and check the structure of all the
  189.           new file systems you have restored.
  190.       
  191.       11) Remove the AIX Operating System Installation/Maintenance
  192.            diskette and start the system from the fixed disk.
  193.       
  194.    ==**==**==**==**==**==**==**==**==**==**==**==**==**==**==**==**==**==
  195.    Tip from Willi Zuber, IBM France
  196.    Date: 16.09.1988
  197.  
  198.    [ NOTE: I personally have NOT tested this way of 'increasing' /usr.
  199.      I HIGHLY recommend that you have a good system backup in case something
  200.      goes wrong.  Always 'Be Prepared' when experimenting! - MW ]
  201.  
  202.    If /usr is full, do the following to gain some space:
  203.  
  204.       1. Find the biggest subdirectory in the /usr directory:
  205.          commands:    cd /usr
  206.                       li -R1p | xargs -i du -s {}
  207.          The system lists the directories of /usr and their
  208.          respective disk usage. Take note of the biggest one:
  209.          ex. 18000 blocks for /usr/lib
  210.       
  211.          [ Note: lib is the hardest to move, as it is usually busy with
  212.              programs.  I suggest /usr/lpp first, then try /usr/lib.
  213.              I suspect it would be best to have a completely idle system
  214.              and a 'killall' done first before attempting /usr/lib. -MW ]
  215.  
  216.       2. Create a new minidisk to contain that "biggest subdirectory"
  217.          and give it a "dummy library name":
  218.          ex. hd13 with 22000 blocks to contain "/dummylib"
  219.       
  220.       3. Mount the new minidisk:
  221.          command:  mount /dev/hd13 /dummylib
  222.       
  223.       4. Kill the error daemon:
  224.          command:  kill /usr/lib/errdemon
  225.          NB. This is only necessary if you move the subdirectory "lib"
  226.       
  227.       5. Copy /usr/lib to /dummylib:
  228.          commands:    cd /usr/lib
  229.                       find . -print | cpio -pdl /dummylib
  230.       
  231.          [ Note: Verify that your copy is good before continuing. - MW ]
  232.  
  233.       6. Umount /dev/hd13:
  234.          command:  umount /dummylib
  235.       
  236.       7. Remove the entries of /usr/lib:
  237.          commands:     cd /usr/lib
  238.                        rm -r *
  239.       
  240.       8. Mount hd13 on the correct directory:
  241.          command:  mount /dev/hd13 /usr/lib
  242.       
  243.       9. Update the file /etc/filesystems:
  244.          change the stanza name "/dummylib:" into "/usr/lib:"
  245.  
  246.          (do not forget the double point!!)  [ Colon for us USA types - MW ]
  247.  
  248.          WARNING: Make sure that the mount is set to always mount at IPL.
  249.       
  250.       10. Re-ipl the system.
  251.       
  252. ------------------------------
  253. Q.4 - What do the IODN numbers mean.
  254.  
  255.        Input Output Device Numbers (IODN) of the system minidisks.
  256.        The numbers assigned to various system minidisks is how the VRM
  257.        is able to associate a particular disk partition with the related
  258.        filesystem.
  259.  
  260.        dev  IODN   use      mount             attributes
  261.        ---  -----  -------  ---------------   -----------------
  262.        hd0  16384  AIX      /                 Auto IPL
  263.        hd1  16386  AIX      /u
  264.        hd2  16387  AIX      /usr
  265.        hd3  16388  AIX      /tmp
  266.        hd4  16385                             dump
  267.             32766  PgSpace
  268.        hd6  32760  VRM      /vrm              read only
  269.        hd7  20001  AIX      /user-minidisk
  270.  
  271.        IODN number for minidisks is 16384 (minimum) to 32767 (maximum).
  272.        User created minidisks start at 20001 thru 29999.
  273.  
  274. ------------------------------
  275. Q.5 - How do I make a netnews filesystem with lots of inodes?
  276.  
  277.       The minidisks command can make a minidisk partition of any size,
  278.       but the maximum number of inodes in will make is less than
  279.       32000 inodes, and is based on the size of the minidisk being created. 
  280.       The AIX filesystem can be made with a larger number of inodes by use
  281.       of a prototype file and the 'mkfs' command.
  282.     
  283.       1) Use minidisks to make a filesystem of the size you wish,
  284.          on the disk you want.. example /news.
  285.  
  286.          number of blocks maximum on a E310 = 605460  (leaving 9 free)
  287.  
  288.          Note the device number when the minidisks makes the new filesystem 
  289.          and minidisk.
  290.  
  291.       2) mount /news
  292.          df /news
  293.  
  294.          Note: The number of blocks will be LESS than that specified in
  295.          the minidisks command, because of inode blocks overhead.
  296.  
  297.       3) Use the proto command and save the output to a file.
  298.            proto /news >/tmp/proto.keep
  299.  
  300.       4) unmount /news
  301.  
  302.       5) Edit the /tmp/proto.keep file and add the size of the filesystem,
  303.          and your requested number of of inodes.  Be conservitive, the 'mkfs'
  304.          command will round UP to a proper multiple based on the geometry of
  305.          the target disk drive.
  306.  
  307.          # cat /tmp/proto.keep
  308.          : Prototype file for /news
  309.          /noboot 605460 63000 
  310.          d--777  0 0   
  311.            lost+found      d--755  0 0   
  312.              $
  313.            $
  314.          $
  315.  
  316.          # mkfs /dev/hd10 -vNEWS /tmp/proto.keep
  317.  
  318.          DANGER: Do not go over 64000 inodes.  Due to some bug in the
  319.          AIX filesystem code, it seems to get lost if the total number
  320.          of inodes is very large, and does not contain some slack space.
  321.  
  322.       6) mount /news
  323.          Expand the lost+found directory by creating about 200 files
  324.          with touch, and then delete them.  This expansion is required so
  325.          that during 'fsck' processing, if errors DO occur, the system
  326.          can move 'dangling' files to the lost+found directory.  During this
  327.          processing fsck cannot have the filesystem changing without its
  328.          knowledge.
  329.        
  330. ------------------------------
  331. Q.6 - The domain name server is not working correctly.
  332.  
  333.       The version of named shipped with AIX/RT is VERY old!  
  334.       A partial 'what /usr/lpp/tcpip/etc/named' shows:
  335.  
  336.     ns_init.c    4.23 (Berkeley) 2/28/88
  337.     ns_main.c    4.30 (Berkeley) 3/7/88
  338.      Copyright (c) 1986 Regents of the University of California.
  339.     ns_maint.c    4.23 (Berkeley) 2/28/88
  340.     ns_req.c    7.7 89/01/27 11:30:46
  341.     ns_req.c    4.32 (Berkeley) 3/31/88
  342.     ns_resp.c    4.50 (Berkeley) 4/7/88
  343.     ns_sort.c    4.3 (Berkeley) 2/17/88
  344.     ns_stats.c    4.3 (Berkeley) 2/17/88
  345.     named 4.8 #12: Wed Jul 27 11:47:05 CDT 1988 
  346.  
  347.      While it pretends to be 4.8, it does not have anywhere near the
  348.      features of the 4.8.3 server or later.  Particular problems I have
  349.      seen are:
  350.         - Secondary servers do not understand how to save the transfered
  351.           zone data to files for restart recovery.
  352.         - zone transfers are NOT asyncronous.  If lots of secondary
  353.           zones are being handled, zone transfers will tie up the server
  354.           making in unresponsive.
  355.         - 'TXT' records, while not documented as available in the TCP/IP
  356.           manual, do work on IBM supplied server.
  357.         - Later maintence level of 1773, seems to have broken MX record
  358.           lookup by the resolver routines located in libc.
  359.  
  360.       If you are having problems with the server, I suggest that you 
  361.       replace the named server with at least the 4.8.3 version available
  362.       from the net.  See section P.3 on porting and running that server.
  363.  
  364. ------------------------------
  365. Q.7 - Mail addressing and setup.
  366.  
  367.       The AIX/RT standard mail facilities consist of the sendmail program,
  368.       (if installed) and the SYSV based user agent 'mail' command.
  369.       The sendmail code appears to be based on sendmail version 7.24.
  370.       The only overt major change to the programs is the location of the
  371.       control files.  They are located in:  /usr/adm/sendmail
  372.  
  373.       IBM includes a program called '/usr/lib/edconfig' to help with editing
  374.       the sendmail.cf control file.  This program is menu driven, and depends
  375.       on the supplied sendmail.cf and the comments located in the file to be
  376.       able to change the sendmail configuration for you.  However, you
  377.       do not have to use this program to configure the sendmail config file.
  378.       There are liberal comments located in the file describing the various
  379.       macros for the system configuration. 
  380.  
  381.       For more documentation on the IBM sendmail, see the "Managing the AIX
  382.       Operating System" manual number SC23-2008. Chapter 7 is devoted to mail
  383.       issues.  That chapter has some excelent information on understanding the
  384.       sendmail.cf file, sendmail macros, mail tailoring issues, understanding
  385.       mail rewrite rules and the obscure format of the sendmail config file.
  386.       Also covered is the format of the queue control files, and more.
  387.  
  388.       If you use the supplied AIX sendmail config file, here are some
  389.       macros that should be looked at:
  390.         Dw       Host name macro
  391.         Cw       Host name class
  392.         DD       Domain name macro
  393.         DE       Macro for first (left most part here in the US) domain part.
  394.         DF       Macro for second domain part.
  395.         DG       Macro for third (optional) domain part.
  396.         DH       Macro for fourth (optional) domain part.
  397.  
  398.       To avoid confusion IBM manual recommends that the following names for
  399.       your system should all be the same:
  400.  
  401.          nodename   - Defined in /etc/master and built into the kernel.
  402.                       Binary changed in /unix and the running kernel with
  403.                       the 'chparm nodename=' command.
  404.          nickname   - The name that Distributed Services uses for your system
  405.                       name.  Changed by the 'ndtable' command.
  406.          hostname   - TCP/IP name defined and displayed by the 'hostname'
  407.                       command.  Usually set from /etc/rc.tcpip shell script.
  408.  
  409.       As supplied, you will find that the IBM mailer has a great deal of
  410.       problems existing in a mixed UUCP and TCP envionment.  A pure TCP
  411.       envrionment also will have problems with MX records, and domain name
  412.       service queries.  X.400 names can cause it all kinds of problems.
  413.  
  414.       I found that the best solution was to replace the supplied sendmail
  415.       with PD versions.  See section P.5 for porting and install instructions
  416.       for IDA sendmail 5.65c.
  417.  
  418. ------------------------------
  419. Q.8 - How do I set up a dial-in autospeed detect serial line?
  420.  
  421.       See the software question S.13 for general serial port add
  422.       instructions.
  423.  
  424.       Modem capabilities vary greatly from vendor to vendor, and much of
  425.       the 'art' of serial port setup of any type will be impacted by 
  426.       the setup 'switches' both hardware and software register setups.
  427.       A great deal of the problem with serial port function is using the
  428.       proper cable.  Modem usage requires a correctly wired cable.  See
  429.       the hardware FAQ for pinout and cable information.
  430.  
  431.       Before starting any attachment of a modem, read your vendors manual
  432.       on setups.  Some vendors documentation have recommended setups for
  433.       attachment to UNIX systems, particularly when used with UUCP.
  434.  
  435.       Examine your vendors modem manual about soft register settings dealing
  436.       with speed matching, and how it is presented to the host computer.
  437.       If you have one of the newer breed of modems where the
  438.       serial-port-to-LOCAL-computer speed can be locked to a single speed,
  439.       while the modem-to-REMOTE-computer speed can be set to the callers speed,
  440.       Then the procedure described below is not neecessary, simply setup
  441.       the port as normal, and set the port speed to the 'locked' speed of
  442.       the modem, and your work is done. (Trailblazer modems have this
  443.       capability for example).  Make sure that the pacing, either XON/XOFF
  444.       or RTS/CTS, is setup correctly in the modem and/or the communication
  445.       terminal that the caller will be using. If the users speed will be
  446.       mis-matching the port speed, there can be over/under run problems.
  447.  
  448.       Setting up an AIX/RT port for autobaud capabilities is not described
  449.       very well in any of the AIX documentation.  The Managing the AIX
  450.       Operating system book has a small section devoted to serial port
  451.       setup, but this obscure feature of AIX/RT serial ports is overlooked.
  452.       The real truth is AIX/RT serial port capabilities are not great,
  453.       especially in the autobaud arena.  You will have to decide what
  454.       combination of speeds and parity settings you would like to support
  455.       and select a few popular combinations.
  456.  
  457.       To allow more than one speed to dial in requires you to edit manually
  458.       the /etc/ports file AFTER you add the tty port with the devices command.  
  459.  
  460.    WARNING:  Any use of the devices command on this port later will wipe
  461.              out the following changes, and will have to be manually be
  462.              re-entered for that port.
  463.  
  464.       Edit the /etc/ports file, find the /dev/tty## entry that was added by
  465.       the devices command for your serial port.
  466.  
  467.       Looks a little like this:
  468.  
  469.      /dev/tty0:
  470.       lock = true
  471.       speed = 2400
  472.       logmodes = echoe+cs8
  473.       runmodes = hupcl+cs8+cread+brkint+icrnl+opost+tab3+onlcr+isig+
  474.                      icanon+echo+echoe+echok
  475.       parity = none
  476.       synonym = /dev/ltty0
  477.  
  478.      Change the 'speed' and parity entries to look like this for a three
  479.      speed call in of 9600,2400,1200 with no-parity used for any of the
  480.      speeds used.
  481.  
  482.         speed=9600,2400,1200
  483.         parity=none,none,none
  484.  
  485.      This will set the port initially to 9600 baud, and step down the speed
  486.      on each recipt of a 'break' sequence by the modem.  
  487.  
  488.      If a user dials in at 2400, after the modems sync carrier, and setup
  489.      for 2400 baud, if the port is at the wrong speed, they will
  490.      receive garbage for the 'hearld' stanza in the 'defaults' section of
  491.      the /etc/ports file.  They then press 'break' and the RT will move to the
  492.      next speed, and then the 'hearld' will be re-displayed.  Once the speed
  493.      and parity setting matches the users modem speed, the login hearld will
  494.      be readable.  If the end of the list is reached on speeds, it wraps
  495.      around to the first entry.
  496.  
  497. ------------------------------
  498. Q.9 - How to setup a serial port for shared dial-in and out?
  499.  
  500.       To properly allow a serial port to be used for dial-out with
  501.       the cu command or for UUCP usage, AND allow call-in capability will
  502.       requre a few non-standard, and obscurely documented changes.
  503.  
  504.       1) Define the port for dial-in usage as described in section
  505.          Q.8 above, but make sure the 'ae' parameter is set to delay or
  506.          share.  I find that delay works best, but use what is proper for
  507.          your requirements.
  508.  
  509.       2) Add the following line to the /etc/ports file for the 
  510.          /dev/tty# stanza requiring dial-in/out capability.
  511.           lock = true
  512.      This will cause a lock file to be created in /etc/locks by
  513.      the getty, and also allow it to correctly handshake with
  514.      uucico and cu to release the serial port when necessary for
  515.      outbound operations, and also will block uucp and cu from
  516.      operating when a caller is logged in on the port.
  517.       
  518.       Under normal usage, this is all that should be necessary.
  519.  
  520.       NOTE: Even on the last fix level, the ATE command does not know how
  521.             to request a lock, or release a port in a automatic fashion.
  522.         You will have to issue a 'pdisable' command prior to 'ate'
  523.         usage, and then re-issue a 'pdelay' or 'pshare' command after
  524.         done using ate.
  525.       NOTE2: Proper locking and releasing of ports with uucico and cu was not
  526.             fixed until around the 2705 opsys update level or later.
  527.  
  528. ------------------------------
  529. Q.10 - The devices command won't find my newly installed adapter.
  530.     
  531.     Four possibilities:
  532.       1) Conflicting interrupt or DMA levels are preventing the
  533.          board from being properly recognized at boot time.
  534.       2) The adapter card is not supported by AIX V2.2.1
  535.       3) The adapter card is defective.
  536.       4) Needed support functions were not installed.
  537.          The VRM device driver LPP sections may not be installed.
  538.          The disks contain support for the following drivers:
  539.         IBM SCSI cards, 3270 cards,  Ethernet cards,
  540.         Token-ring cards, devices needing block I/O support.
  541.  
  542. ------------------------------
  543. Q.11 - What is the procedure to add a hard disk to a system that has
  544.        been in use on another RT system running AIX.
  545.  
  546.     Assming that the drive to be added came from another RT system, no special
  547.     formatting is needed. The minidisk partition table, and bad track map
  548.     are already on the drive.
  549.  
  550.     To be safe, I personally like to remove all hard drives except the NEW one,
  551.     put the terminator on the new drive, boot from the VRM floppy, and then use
  552.     the second procedure below to remove any stray minidisks from the foriegn
  553.     drive.
  554.  
  555.     Simple procedure: *IF* you are sure that the drive to be added had NO
  556.                       minidisks on it, all you have to do is:
  557.  
  558.        1) Plug in the new drive, observing that the terminator is removed.
  559.           Only one disk must have a terminator, with one controller card,
  560.           If you have a system with more than one controller, follow the cable
  561.           set for each controller.  Only one drive for each set must have a
  562.           terminator resistor installed.
  563.  
  564.        2) Use the 'minidisks' command to manage the drive, add minidisks,
  565.           filesystems, and enjoy.  Your work is done.
  566.           
  567.     Complex procedure:  However... If the new drive had minidisks already on
  568.                         it, and worse, SYSTEM minidisks on it, AIX and VRM
  569.                         will get VERY confused about what minidisks are what.
  570.                         Use this procedure if you are not sure what minidisks
  571.                         may be on the drive, if any.
  572.  
  573.     This is the ONLY safe way to check out foriegn disks.
  574.  
  575.     Don't try to boot your AIX system just after adding it to the system. 
  576.  
  577.        1) Boot the diagnostics disks, and see what drives are found.
  578.           Use the option 'show all installed options' selection of the
  579.           utilites portion of the diagnostics.  Make sure that the terminator
  580.           is installed correctly as shown in the hardware setup FAQ or manuals.
  581.           Remember, only the last drive in the chain for each controller just
  582.           have a terminator pack. 
  583.  
  584.        2) I like to test the drive with diagnostics and make sure it is at
  585.           least responding to initial selection.
  586.  
  587.        3) Boot up the VRM diskette #1 and use the VRM maint utility commands 
  588.           'qi' and its other very strange commands to display all minidisks on
  589.           each and every drive.  Write down the IODN and IOCN numbers on each is
  590.           installed drive. 
  591.  
  592.           If the NEW drive has any VRM minidisk numbers (32760 and 32766) AND
  593.           AIX system minidisks (16384 and up to 19999).  VRM will get VERY
  594.           confused about what VRM and AIX filesytems are what. It seems that
  595.           VRM goes by the IOCN/IODN numbers to figure out what partitions
  596.           are what, and gets very confused if there are duplicate partition
  597.           numbers.  To clear this up continue with step 5. 
  598.  
  599.        4) If ALL the minidisks are over 20000 and less than 32760 in number,
  600.           AND *NONE* of the minidisks has the 'PgSpace' marker, you can do one
  601.           of two procedures:
  602.  
  603.              A) Exit the VRM utilites and re-boot your normal AIX system, then
  604.                 use the 'mdrc' command to recover any filesystems and minidisks
  605.                 that were on the 'new' drive.  The mdrc (minidisk recovery)
  606.                 command reads the minidisk partition table, and re-writes it
  607.                 and resyncronizes the /etc/system and /etc/filesystems files
  608.                 so that the numbers on it and the system tables will not
  609.                 conflict with existing minidisk numbers.  This procedure will
  610.                 rename any mount points on the 'new' filesystems to 
  611.                 /tmp/directory/hd## matching the renamed 'hd' numbers that will
  612.                 be assigned to the added drive.
  613.  
  614.              B) Use the VRM install utilities and use the delete minidisk
  615.                 comand descrived in step 5A to delete any or all unneeded
  616.                 minidisks.  If any minidisks are left, then use step 4A on
  617.                 the disk to recover any remaining minidisks, and syncronize
  618.                 the system tables.
  619.  
  620.        5) If some or all the minidisks are under 20000 in number OR there are
  621.           minidisks in the 3276x range, OR one of the minidisks has a VRM
  622.           'PgSpace' marker, problems can occur.
  623.  
  624.           You can choose several options:  A) Delete everything on the new
  625.           drive,  B) Delete some minidisks and recover what is left, or
  626.           C) attempt to recover all minidisks, including the 'system' ones.
  627.          
  628.           While following these proceedures, BE CAREFUL on what drive is called
  629.           0 and 1 and 2.  Drive 0 normally is the top back drive connected to
  630.           the C1 connector.  Drive 1 is the bottom back drive connected to the
  631.           D1 connector, and drive 2 is the front drive bay connected to the E1
  632.           connector. Things can get VERY confused if you have a system with two
  633.           controller boards in slots 1 and 2.  A mis-cabling by some other
  634.           person can scramble the drive numbering.   
  635.  
  636.              A) You can remove all the minidisks on the drive by using the
  637.                 delete minidisk command 'dlmd', to delete any of the possibly
  638.                 duplicate minidisk(s).  If any to be removed are a pagespace,
  639.                 follow the procedure in step 5C2 below prior to deleting that
  640.                 type of minidisk. The syntax of the delete command is:
  641.  
  642.                      dlmd <minidisk_id> <reald>
  643.  
  644.                      minidisk_id = IODN or name of minidisk being deleted.
  645.  
  646.                      reald = The fixed disk IODN on which the minidisk resides.
  647.                              If you have more than one minidisk with the same
  648.                              name on different drives you *MUST* specifiy this
  649.                              parameter.  The number to be used is the disk
  650.                              drive NUMBER (0,1 or 2).
  651.  
  652.                 Once all old minidisks are gone, remove the VRM utility disk,
  653.                 re-install your other disks (if you removed them), and reboot
  654.                 AIX and use the now empty disk as normal.
  655.  
  656.              B) Using the 'dlmd' command as described in procedure 5A above,
  657.                 delete any system minidisks from the new drive, leaving the
  658.                 'user' minidisks (greater than 20000 and less than 32767).
  659.                 Continue with step 4A above to recover the filesystems.
  660.  
  661.              C) To recover ALL minidisks for examination, use the VRM utilities
  662.                 to remove the special VRM markers from the minidisks on the
  663.                 new drive.   There are three special case filesystems:
  664.  
  665.                    1) If any have the 'PgSpace' marker, it is a paging area,
  666.                       and is most likely currently in use by this boot of VRM
  667.                       (from the utilities!).  Deleting it now can cause a run
  668.                       error. First, unmark the minidisk as a pagespace with
  669.                       the utility command 'setattr'. Reboot the VRM utilities,
  670.                       and then remove any minidisk(s) that were in use as
  671.                       pagespace (there is no AIX filesystem on it and nothing
  672.                       generally of use anyway).
  673.  
  674.                    2) If any minidisks have the IODN of 32760 and have the
  675.                       'VRM' marker, AND you want to recover it as a regular
  676.                       filesystem minidisk, remove the VRM marker from the
  677.                       minidisk with 'setattr'.  You can also use the setattr
  678.                       command to remove the read-only status of the minidisk.
  679.  
  680.                    3) If the '/' (root) filesystem exists with IODN 16384 on
  681.                       the drive, remove the 'IPL' marker from the minidisk with
  682.                       'setattr'.
  683.  
  684.                 Then continue with step 4A above using the AIX/RT 'mdrc'
  685.                 command to renumber and rename the remaining possibly duplicate
  686.                 minidisks.
  687.  
  688. ------------------------------
  689. Q.12 - The disk I have is one of the IBM supported disks, but it can't be
  690.        found by diagnostics, or AIX.
  691.  
  692.       The most likely cause of this problem is the IBM supplied minidisk
  693.       partition table, and the defect map area has been removed by some 
  694.       method.  A full reformat with a non-AIX/RT computer is the usual
  695.       cause of this problem.  To add this disk, follow the procedures described
  696.       in Q.13 below for adding a ODM ESDI drive to the system.  When you
  697.       get to the part on specifying the disk parameters, use the option 
  698.        '1 - Specify a known device.' to fill in the disk parameters.
  699.  
  700. ------------------------------
  701. Q.13 - What is the procedure for adding a Non-IBM ESDI or MFM hard disk
  702.        with AIX V2.
  703.  
  704.      To use a NON-IBM ESDI drive on an RT, it will have to be very
  705.      close in its geometry to one of the IBM supported drives.
  706.      I have not yet tried to use ESDI drives with larger than 310 Mbytes
  707.      of space with AIX.
  708.  
  709.      To be able to properly use the drive, it will have to be prepared
  710.      in two seperate formatting steps.
  711.  
  712.      First, shutdown the system as normal. 
  713.      I personally like to work on new disk drives with NO other drives
  714.      installed in the system.  The serves several purposes.  
  715.  
  716.         1) If there is anything wrong with the drive, it won't cause problems
  717.            the other disk drives in the system.
  718.         2) If you make an error specifiying any arguments or commands with
  719.            the diagnostics or the VMF utilities, you won't accidently
  720.            damage any of the information on your other drive(s).
  721.  
  722.      The RT employs a specially cut and twisted drive control cable, 
  723.      allowing all hard drives to be jumpered for drive select 2.
  724.      Examine the disk drive electronics, and set the drive select jumpers
  725.      for the drive to DS2.  Double check other jumpers if necessary on 
  726.      the drive.  Some drives have jumpers to control the number of sectors
  727.      per track, and timing adjustments.  Look at the ESDI drive chart in 
  728.      this FAQ and pick a setup that is close in sectors to the IBM drives.
  729.      The larger drives usually use from 34 to 36 sectors per track.
  730.      If you are following my precaution for testing the drive by itself,
  731.      make sure that the proper value and type of terminator resistor is
  732.      installed in the drive, as this will be the last (only) drive in the
  733.      chain of drives in the system.
  734.      
  735.      Install the drive in one of the open drive bays. Make sure that the drive
  736.      is plugged into the proper power cable.  The tower model 6150 RT as the
  737.      following drive bay locations.  Drive bay 'C' is the top back full height
  738.      drive bay, and uses power connector P13.  Bay 'D' is the bottom back bay,
  739.      and uses power connector P14, and bay 'E' is the front full height bay 
  740.      just below the two half height floppy drive bays.
  741.      If this is the only drive in the system, put it in bay 'C'.
  742.  
  743.      Unfortunately the desktop 6151 system has only one full height drive bay.
  744.      While the controller is capabile of running two (or three depending on 
  745.      the exact model controller) hard drives, I have not investigated using
  746.      two half height drives for this system.  That may be possible as long as
  747.      you don't exceed the capacity of the power supply.
  748.  
  749.      At this point, I like to boot the diagnostics diskettes and see if
  750.      the drive is recognized.  Choose the utility section of the diagnostics,
  751.      and select the 'show all installed devices'.  All adapters in the system
  752.      should be listed, including the fixed disk drive adapter.  This makes 
  753.      sure that the adapter is still functioning.  Usually the drive itself 
  754.      will NOT show up in the attached devices list, even if everything is 
  755.      correct with the hardware. The AIX RT diagnostics are rather dumb and
  756.      will not understand the drive and its geometry if there is no AIX style
  757.      minidisk partition table on the drive. 
  758.  
  759.      If the new drive DOES show up, the diagnostics will show its position and
  760.      size if it is an IBM drive. Unless you would like to completely reformat
  761.      the drive you should skip to the FAQ section on adding a drive with
  762.      existing AIX formatting to the system.  There may be minidisks on the
  763.      drive that can conflict with your system.  If you do wisk to reformat
  764.      this drive, skip past the paragraphs below about VRM formatting.
  765.  
  766.      We now have to assume that the ESDI drive is working correctly, as 
  767.      none of the AIX or diagnostics tests will show the drive as operable yet.
  768.      The new drive must be formatted with the VRM installation disks.  This
  769.      formatting will put a new minidisk partition table on the drive, and
  770.      also will create the VRM bad track map table on the drive (empty), and 
  771.      the geometry information record will be written to the drive.
  772.  
  773.      Put disk 1 of the VRM install disks in the floppy drive, and boot the
  774.      system from the floppy. Use the following procedure to walk thru the
  775.      menus of the VRM utilities and the VRM format command.
  776.  
  777.      When the VRM install disks boot up, they will ask you for your keyboard
  778.      language, choose the proper menu item and press enter.  Next a menu
  779.      of VRM options will be displayed. 
  780.  
  781.      * Choose menu option 7, "Maintenance Facility"
  782.      
  783.      You will be given a command line interface with a prompt of ">". 
  784.      To get help with any comand type 'help commandname".  The screen will
  785.      not scroll when the screen is full with these utilities. Press F1 to 
  786.      see more of the screen.
  787.  
  788.      Assuming that the drive is in bay C, and all by itself, type the
  789.      following command to start formatting that drive:
  790.  
  791.         format 1
  792.  
  793.      Drive bay C is drive 1, bay D is 2, and bay E is 3.  Systems with
  794.      two EESDI controllers thus have drives 1,2,3 on the first adapter
  795.      and drives 4,5,6 on the second adapter.
  796.  
  797.      * A display menu of adapters in the system will now be shown, and the  
  798.        attached drive numbers that may be formatted.  At the prompt to
  799.        continue, press 'Y'
  800.  
  801.      VRM will complain that the drive is unreadable, with the following
  802.      message as there is not an existing partition table on the drive.
  803.      
  804.      * Drive is Un-readable.  No valid disks parameters can be located.
  805.        Do you want to specify parameters (y/n).
  806.  
  807.      Enter "y" to continue.
  808.  
  809.      A menu of selectable drive parameters will now be displayed that
  810.      looks like this:
  811.         1 - Specify a known device.
  812.         2 - Specify number of cylinders
  813.         3 - Specify number of heads
  814.         4 - Specify number of sectors per track
  815.         5 - Specify interleave factor
  816.        yes    6 - Specify cylinder where precomp begins.
  817.        yes    7 - Specify seek profile.
  818.         8 - Specify skew factor.
  819.         9 - Display configuration record
  820.            10 - Continue with format.
  821.            11 - Quit format command.
  822.  
  823.      If you have an IBM drive that has had its VRM minidisk table wiped out,
  824.      or a drive that exactly matches the geometry of an IBM drive, you can
  825.      choose menu option 1 and a menu of IBM known drives will be displayed.
  826.      Choosing a IBM drive type will then bring you back to this menu with
  827.      'yes' by all of the parameters that have been set.  If you have
  828.      a drive with different specifications, choose each menu option in
  829.      turn above and enter the proper value for your drive.  As each option
  830.      is specified, and 'yes' will be entered next to that menu option.
  831.      Note: ESDI drives do not need menu option 6 or 7, that is why the
  832.      'yes' is already on those options.
  833.  
  834.      When you have finished specifying the settings, menu option 9 will
  835.      give you a summary of the settings, or allow you to display the
  836.      current settings that a drive already has.
  837.      When ready to continue formatting, choose option 10.
  838.  
  839.      As the drive formats it will show you the cylinder number in a running
  840.      display.  If there are problems, you will see the following error
  841.      message, or similar:
  842.        Start I/O failed. IODN=1315  return code= -6
  843.        I/O error during format operation.
  844.           drive 1
  845.           cyl   0
  846.           head  0
  847.        Do you want to continue format?
  848.    
  849.      This error indicates an immediate failure (cyl=0, head=0) and 
  850.      most likely the drive is not responding, or a gross misarrangement
  851.      of geometry settings.  A 'n' will abort the format operation, a 'y'
  852.      will attemt to continue.  A very bad track on a drive can also show
  853.      this error, but the cylinder and head numbers must be non-zero. 
  854.      A drive with cylinder zero defective is most likey useless.
  855.     
  856.      Assuming that the VRM format operation has completed, now you need to
  857.      boot the diagnostics disks.
  858.      VRM formatting will now allow the diagnostics to be able to find and
  859.      understand the drive.. HOWEVER, the bad track map is not filled in by
  860.      the VRM formatting. 
  861.  
  862.      After booting the diagnostics, choose menu option two (2), "Utilities".
  863.      This will bring up the "Utility Selection" menu.  Choose option three (3),
  864.      "Fixed Disk Utilities".  Option one (1) on this menu will be
  865.      "Format a Fixed disk".  Make sure that you select the correct disk. 
  866.      Confirmation of format will not be requested.  The disk size will be
  867.      known from the already installed minidisk partition table from the VRM
  868.      formatting step.  After formatting is complete, exit the diagnostics,
  869.      and remove the diagnostics diskette, and enjoy your new disk drive.
  870.  
  871. ------------------------------
  872. Q.14 - What is the procedure for using non-IBM SCSI disks with AIX V2.
  873.  
  874.      As mentioned in the hardware FAQ, the IBM RT SCSI adapter uses
  875.      a differential interface, instead of a single ended interface 
  876.      like that used in most workstations.  This makes it electriclly
  877.      incompatible with most SCSI drives on market.
  878.  
  879.      However, all is not lost. :-)
  880.  
  881.      Some vendors do offer their SCSI drives with an optional differential
  882.      interface.  There also exist a couple of manufacturers of
  883.      'Differential-to-single-ended' converter boxes.  These boxes allow
  884.      a bi-directional conversion of the SCSI bus and will allow attachment
  885.      of these single ended disk drives.
  886.      Newer IBM RS/6000 systems have optional differential interfaces
  887.      now available, and some SUN systems will be offerd with differential
  888.      interfaces.  This will most likely cause drive manufacturers start
  889.      to increase the availability of differential drives.
  890.  
  891.      Here is a procedure that works for me to attach SCSI disks from
  892.      non-IBM vendors to an RT running AIX 2.2.1.
  893.      
  894.      1) Get the geometry information for the drive and create a ddi
  895.     stanza file with the proper information.
  896.      
  897.        A) Use as a reference the ddi information for IBM's 9332 drive.
  898.           Copy the /etc/ddi/9332 entry to one of your own name,
  899.           such as /etc/ddi/wren7.
  900.       NOTE: The commented lines in the ddi stanza are IMPORTANT.
  901.           do not change them, or remove them.  They must follow
  902.           AFTER the entry being described.
  903.  
  904.       Find the following entries and change them to match the
  905.       characteristics of your SCSI drive:
  906.  
  907.       > If the the drive is confused about syncronous operations
  908.         set this to 'true' and the driver will not offer SYNC
  909.         as an option while setting up the data transfers:
  910.             (No Negotiate For Syncronous Transfer) == nnfst
  911.         nnfst = false
  912.  
  913.       > If necssary, adjust the number of allowed bad blocks.
  914.             noabb = 600
  915.               * Number of Allowed Bad Blocks
  916.  
  917.       > Here is one of the CRITICAL parameters!  Make sure that
  918.         this value matches the drives actual number of usable 
  919.         blocks on the device, *LESS* any CE cylinders and reserved
  920.         track areas. 
  921.              nobod = 391182 
  922.               * Number Of Blocks On Device.
  923.  
  924.       > AIX filesystems and drives use an underlying physical block
  925.         size of 512 bytes.  All the drives I have used have been
  926.         able to select 512 as the block size.  (This value is 
  927.         specified in 256 byte increments in the ddi.. 2*256=512)
  928.             nobub = 2
  929.               * Num of 256-Byte Units/Block 
  930.  
  931.       > The drives actual number of sectors per track is used by
  932.         AIX and VRM for constructing good accessing inode superblock
  933.         structures, so set this value as per the vendors 
  934.         specifications.
  935.            nospt = 17
  936.               * Number of Sectors per Track
  937.  
  938.        B) Change the string /d9332/ to /wren7/.  I never went over
  939.       5 characters, just made sure that the strings started with
  940.       a letter, and were 5 characters long.  The value used for
  941.           the string is not important, just be unique among the entries
  942.           if you have more then one type of SCSI disk, and it matches
  943.       the *NAME* of the file in /etc/ddi directory.
  944.  
  945.        C) Next, we have to setup some things by hand that the 'devices'
  946.           command would normally do for us.  The disk drives scsi address
  947.           and the dma channel to use when accesing the SCSI card/device.
  948.     
  949.           * Find the stanza entries in your newly cloned ddi entry
  950.             that now read:
  951.  
  952.             wren7scsi1:
  953.                 biopa = d50
  954.                 cn = 6
  955.             * DMA Channel Number            * 0, 1, 3, 5, 6, 7
  956.  
  957.             wren7scsi2:
  958.                 biopa = 950
  959.             cn =5
  960.             * DMA Channel Number            * 0, 1, 3, 5, 6, 7
  961.  
  962.       - The entries that start 'wren7scsi1' sets the addressing
  963.             parameters for accessing the SCSI card 1.  If this is your
  964.             very first attached SCSI device, make sure that the DMA
  965.             channel number used is not in use by any other cards in
  966.             your system.  The 'biopa' and 'cn' paramemters MUST track
  967.             togther.  The 'cn' paramenter sets the dma channel number.
  968.             The 'biopa' sets the base io address for the card.
  969.  
  970.           - Find the entry that reads: wren7scsi### 
  971.             
  972.             * The following stanzas are 9332 DASDs on the first SCSI adapter
  973.  
  974.             wren7scsi100:
  975.                 biopa = d50
  976.                 cn = 6
  977.             * DMA Channel Number            * 0, 1, 3, 5, 6, 7
  978.  
  979.             The name of the stanza is the entries to be used for
  980.             the individual instance of a device.  The name is
  981.                wren7scsi%$#
  982.            
  983.              Where 
  984.                % = The card number (1 or 2)
  985.                $ = The device SCSI ID (0-6)
  986.                % = the device LUN ID (0-1)  
  987.  
  988.         Make the same change to the 'cn' and 'biopa' values.
  989.             (if necessary)
  990.  
  991.        D) Now comes the critical step, editing the /etc/system file.
  992.           Make a bakup copy of /etc/system.. syntax errors in this file
  993.           will make your system unbootable!  Make sure that you have
  994.           a working copy of your 'Installation/maint' diskette around
  995.           to be able to get back in and repair any botched attempts.
  996.  
  997.           Add the 'hdisk' by manually adding the stanza(s) for the
  998.           disk.  This would normally have been done by the devices command.
  999.  
  1000.           External disks start with 'hdisk6'.  hdisk0,1,2 are internal
  1001.           on the first EESDI adapter.  hdisk3,4,5 are on the possible
  1002.           portalble EESDI adapter.   Pick a uunique IODN number for the
  1003.           stanza.  I usually start with 2310.  The scsi id and scsi card
  1004.           are pointed to by the 'nname=' and 'use=' stanzas of this
  1005.           entry.  Make sure the 'file=', 'kaf_file=' and 'kaf_use='
  1006.           stanzas point at your newly added 'ddi' file in /etc/ddi.
  1007.  
  1008. hdisk6:
  1009. * MAXSTOR XT-8760 SCSI Disk Drive
  1010.     aflag = true
  1011. * IBM SCSI Adapter, Primary
  1012.     adp = scsi1, scsi2
  1013.     config = scsihelp
  1014.     crname = false
  1015.     dname = hdisk
  1016.     driver = vscsi
  1017.     dtype = scsi
  1018. * IBM RT PC SCSI Devices
  1019.     file = /etc/ddi/max
  1020.     iodn = 2310
  1021.     kaf_file = /etc/ddi/max
  1022.     kaf_use = kmax
  1023.     maxdev = 5
  1024.     name = max
  1025.     noddi = false
  1026.     nodl = false
  1027.     noduplicate = false
  1028.     noipl = true
  1029.     noshow = false
  1030.     nospecial = true
  1031.     shared = true
  1032.     specproc = /etc/scsiproc
  1033.     switchable = false
  1034.     vint = 4
  1035.     modes = rw-rw----
  1036.     nname = maxscsi130
  1037.     use = dmaxscsi130
  1038.  
  1039.        E) Activate the usage of the new SCSI disk by the 'varyon' command.
  1040.           The first time you issue this command, the varyon may fail on some
  1041.           SCSI disks.  The pending Unit Check from coming ready will confuse
  1042.           the vary commands processing.  The vary processing will discover
  1043.           (hopefully) that the minidisk partition table is missing, and will
  1044.           proceed to create one.  Depending on the formatting or prior data
  1045.           on the drive, this step can fail, if the varyon command gets confused
  1046.           about if a valid minidisk partition table is present.   If this
  1047.           happens, take the drive to some KIND soul and have them write ZEROS
  1048.           on the first 100 sectors of the drive, and re-attach, and re-issue
  1049.           a varyon command (most likely twice).  If everything is correct
  1050.           the vary will complete without errors, and a subsequent 
  1051.           'minidisks' command will show that space as available.
  1052.  
  1053.        F) Modify the system to varyon the SCSI disk(s) on each boot.
  1054.           Add the following command to the end of /etc/rc.include
  1055.                varyon -q -d hdisk6
  1056.                varyon -q -d hdisk7 (or however many disks you have)
  1057.  
  1058.           You might have to issue the command twice for each drive.
  1059.  
  1060.    [ Note:  It has been a while since I have personally done this, but
  1061.      the general procedure does work.  I will re-verify it shortly. - MW ]
  1062.  
  1063. ------------------------------
  1064. Q.15 - The diagnostics start booting ok, then fail with a LED code.
  1065.        What do the codes mean? 
  1066.  
  1067.       This problem can caused by several problems among which are:
  1068.          1)  Unrecognized floppy controller.
  1069.          2)  Unrecognized or missing  RT approved display adapter.
  1070.          3)  Serious malfunction one or more adapters.
  1071.          4)  Serious malfunction in a portion of the processor or memory
  1072.              cards installed.
  1073.  
  1074.       Usually, the failing component code will be the last displayed
  1075.       LED value.  Reference the Hardware FAQ for a list of POST LED
  1076.       codes.
  1077.  
  1078.       These additonal LED codes can be found for problem areas:
  1079.  
  1080.         Steady code LED values:
  1081.          22 - Boot diskette not found or failing.
  1082.          25 - Software problem during soft IPL, power off and retry.
  1083.          81 - 5085 failure, make sure it is powered on, and cables secure.
  1084.          94 - Failing/missing display adapter.  Use OEM display adapter
  1085.               diskette to continue.
  1086.          99 - Keylock is in locked position.
  1087.  
  1088.         Blinking code LED values:
  1089.          02 - Damaged diagnostic diskette, try another.
  1090.          30 - Damaged diagnostic diskette, try another.
  1091.          99 - Undetermined Problem, Possible failing:
  1092.               Keyboard, Diskette error, FP unit, memory card,
  1093.               or processor card.
  1094.  
  1095. ------------------------------
  1096. Q.16 - How do I setup and use the AT Simulator.
  1097.  
  1098.       [ Open for adoption by someone very familiar with PC Simulator
  1099.         experience! - MW ]
  1100.  
  1101. ===============================================================================
  1102.              *** FAQ Continued in AIX Question/Answer Part 2 ***
  1103. ===================== end of ibm-rt-faq/aix-v2/misc/part1 =====================
  1104. -- 
  1105.  
  1106. Posted around the first of each month to comp.sys.ibm.pc.rt, and
  1107. to comp.unix.aix.
  1108.  
  1109. This FAQ is dedicated to use of the AIX Version 2 operating system, running
  1110. on the IBM RISC processor known as the RT.  The RT is known also as 
  1111. an IBM model 6150 or 6151 machine.
  1112.  
  1113. For AIX RT  submissions E-mail to:   aix-rt@antimatr.hou.tx.us
  1114. For AOS RT  submissions E-mail to:   aos-rt@antimatr.hou.tx.us
  1115. For MACH RT submissions E-mail to:   mach-rt@antimatr.hou.tx.us
  1116. For general Q&A submissions (hardware and other stuff) E-mail to:
  1117.    faq-rt@antimatr.hou.tx.us
  1118.  
  1119. Other comments and correctons should be sent to the author:
  1120.     Mark Whetzel
  1121.     DOMAIN addr: markw@antimatr.hou.tx.us
  1122.     BANG address:  ..!uhnix1!lobster!antimatr!markw
  1123.     Daytime work number  8AM-5PM M-F CST  VOICE: (713) 963-2544
  1124.  
  1125. --
  1126. AIX..... NOT just another UNIX. (tm)
  1127. Mark Whetzel                          | My own RT system.. My own thoughts..
  1128. DOMAIN: markw@antimatr.hou.tx.us      | IBM RT/135 running AIX 2.2.1 
  1129. UUCP ..!menudo!lobster!antimatr!markw | comp.sys.ibm.pc.rt FAQ maintainer.
  1130.